package com.bsj.travel.auth;

import com.bsj.travel.security.annotation.EnableRyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.web.bind.annotation.CrossOrigin;

/**
 * @author yinhao
 * @version 1.0
 * @description 认证授权中心
 * @date 2023/11/1
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@CrossOrigin(origins = "*", maxAge = 3600)
@EnableRyFeignClients
public class TravelCloudAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(TravelCloudAuthApplication.class, args);
        System.out.println("(◠‿◠)ﾉﾞ  认证授权中心启动成功   ლ(´ڡ`ლ)ﾞ ");
    }
}
